//
//  ViewController.h
//  makepack_tools
//
//  Created by tangs on 2017/7/15.
//  Copyright © 2017年 tangs. All rights reserved.
//

#import <Cocoa/Cocoa.h>

@interface FileSystemItem : NSObject
{
//    NSString *relativePath;
    FileSystemItem      *parent;
    NSArray             *children;
    NSString            *configPath;
    NSMutableDictionary *keyMap;
}

+ (void)setConfigPath:(NSString*)path;
+ (FileSystemItem *)rootItem;
- (NSInteger)numberOfChildren;// Returns -1 for leaf nodes
- (FileSystemItem *)childAtIndex:(NSUInteger)n; // Invalid to call on leaf nodes

@end

@interface ViewController : NSViewController<NSOutlineViewDataSource,NSOutlineViewDelegate> {
    NSMutableArray *tasks;
}

@property (weak) IBOutlet NSOutlineView *outlineView;

@end

